package com.payment.common.type;

/**
 * @author fuzhili
 * @Description:   商城>>>订单状态
 * @date 01/22/14点07分
 */
public enum OrderStatus {
    NO_PAY("10A", "待支付"), PAID("10B", "已支付"),
    WAITS_DELIVERY("10C", "待收货"), SHIPPED("10D", "已收货"),
    CANCEL("10E", "已取消"),FAIL("70A", "交易失败"),
    ;

    private final String code;
    private final String info;

    OrderStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}

